.class Lcom/waiqin365/base/login/r;
.super Landroid/os/Handler;


# instance fields
.field private a:Ljava/lang/ref/WeakReference;


# direct methods
.method public constructor <init>(Lcom/waiqin365/base/login/LoginCheck1Activity;)V
    .locals 1

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/r;->a:Ljava/lang/ref/WeakReference;

    return-void
.end method


# virtual methods
.method public dispatchMessage(Landroid/os/Message;)V
    .locals 8

    const v7, 0x7f0c0064

    const v5, 0x7f0802d3

    const v6, 0x7f0c0066

    const v4, 0x7f08013b

    iget-object v0, p0, Lcom/waiqin365/base/login/r;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/base/login/LoginCheck1Activity;

    if-nez v1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-virtual {v1}, Lcom/waiqin365/base/login/LoginCheck1Activity;->dismissProgressDialog()V

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck1Activity;->g(Lcom/waiqin365/base/login/LoginCheck1Activity;)Landroid/widget/Button;

    move-result-object v0

    const/4 v2, 0x1

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setEnabled(Z)V

    iget v0, p1, Landroid/os/Message;->what:I

    const/16 v2, 0x9

    if-ne v0, v2, :cond_7

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    move-object v3, v0

    check-cast v3, Lcom/waiqin365/base/login/b/a/au;

    invoke-virtual {v3}, Lcom/waiqin365/base/login/b/a/au;->b()Z

    move-result v0

    if-eqz v0, :cond_6

    iget-object v0, v3, Lcom/waiqin365/base/login/b/a/au;->d:Ljava/lang/String;

    const-string/jumbo v2, "1"

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    invoke-virtual {v1, v5}, Lcom/waiqin365/base/login/LoginCheck1Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck1Activity;->h(Lcom/waiqin365/base/login/LoginCheck1Activity;)V

    goto :goto_0

    :cond_2
    const-string/jumbo v2, "2"

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    new-instance v0, Lcom/waiqin365/compons/view/c;

    const-string/jumbo v2, ""

    iget-object v3, v3, Lcom/waiqin365/base/login/b/a/au;->e:Ljava/lang/String;

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/base/login/s;

    invoke-direct {v5, p0, v1}, Lcom/waiqin365/base/login/s;-><init>(Lcom/waiqin365/base/login/r;Lcom/waiqin365/base/login/LoginCheck1Activity;)V

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    invoke-static {v1, v0}, Lcom/waiqin365/base/login/LoginCheck1Activity;->a(Lcom/waiqin365/base/login/LoginCheck1Activity;Lcom/waiqin365/compons/view/c;)Lcom/waiqin365/compons/view/c;

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck1Activity;->j(Lcom/waiqin365/base/login/LoginCheck1Activity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    const-string/jumbo v2, "#ff9008"

    invoke-static {v2}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v2

    invoke-virtual {v0, v2, v6}, Lcom/waiqin365/compons/view/c;->a(II)V

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck1Activity;->j(Lcom/waiqin365/base/login/LoginCheck1Activity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    const v2, 0x7f0802c5

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/login/LoginCheck1Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2, v6}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;I)V

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck1Activity;->j(Lcom/waiqin365/base/login/LoginCheck1Activity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    const v2, 0x7f08005f

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/login/LoginCheck1Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2, v7}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;I)V

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck1Activity;->j(Lcom/waiqin365/base/login/LoginCheck1Activity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto/16 :goto_0

    :cond_3
    iget-object v0, v3, Lcom/waiqin365/base/login/b/a/au;->e:Ljava/lang/String;

    if-eqz v0, :cond_4

    iget-object v0, v3, Lcom/waiqin365/base/login/b/a/au;->e:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-nez v0, :cond_5

    :cond_4
    invoke-virtual {v1, v4}, Lcom/waiqin365/base/login/LoginCheck1Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v3, Lcom/waiqin365/base/login/b/a/au;->e:Ljava/lang/String;

    :cond_5
    iget-object v0, v3, Lcom/waiqin365/base/login/b/a/au;->e:Ljava/lang/String;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_6
    iget v0, v3, Lcom/waiqin365/base/login/b/a/au;->b:I

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    :cond_7
    iget v0, p1, Landroid/os/Message;->what:I

    const/16 v2, 0xf

    if-ne v0, v2, :cond_d

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    move-object v3, v0

    check-cast v3, Lcom/waiqin365/base/login/b/a/ak;

    invoke-virtual {v3}, Lcom/waiqin365/base/login/b/a/ak;->b()Z

    move-result v0

    if-eqz v0, :cond_c

    const-string/jumbo v0, "1"

    iget-object v2, v3, Lcom/waiqin365/base/login/b/a/ak;->c:Ljava/lang/String;

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_8

    iget-object v0, v3, Lcom/waiqin365/base/login/b/a/ak;->d:Ljava/lang/String;

    iget-object v2, v3, Lcom/waiqin365/base/login/b/a/ak;->e:Ljava/lang/String;

    invoke-static {v1, v0, v2}, Lcom/waiqin365/base/login/LoginCheck1Activity;->a(Lcom/waiqin365/base/login/LoginCheck1Activity;Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v1, v5}, Lcom/waiqin365/base/login/LoginCheck1Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_8
    const-string/jumbo v0, "2"

    iget-object v2, v3, Lcom/waiqin365/base/login/b/a/ak;->c:Ljava/lang/String;

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_9

    new-instance v0, Lcom/waiqin365/compons/view/c;

    const-string/jumbo v2, ""

    iget-object v3, v3, Lcom/waiqin365/base/login/b/a/ak;->f:Ljava/lang/String;

    sget v4, Lcom/waiqin365/compons/view/c;->b:I

    new-instance v5, Lcom/waiqin365/base/login/t;

    invoke-direct {v5, p0, v1}, Lcom/waiqin365/base/login/t;-><init>(Lcom/waiqin365/base/login/r;Lcom/waiqin365/base/login/LoginCheck1Activity;)V

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    invoke-static {v1, v0}, Lcom/waiqin365/base/login/LoginCheck1Activity;->a(Lcom/waiqin365/base/login/LoginCheck1Activity;Lcom/waiqin365/compons/view/c;)Lcom/waiqin365/compons/view/c;

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck1Activity;->j(Lcom/waiqin365/base/login/LoginCheck1Activity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    const v2, 0x7f080700

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/login/LoginCheck1Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    const v3, 0x7f0c0067

    invoke-virtual {v0, v2, v3}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;I)V

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck1Activity;->j(Lcom/waiqin365/base/login/LoginCheck1Activity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto/16 :goto_0

    :cond_9
    iget-object v0, v3, Lcom/waiqin365/base/login/b/a/ak;->f:Ljava/lang/String;

    if-eqz v0, :cond_a

    iget-object v0, v3, Lcom/waiqin365/base/login/b/a/ak;->f:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-nez v0, :cond_b

    :cond_a
    invoke-virtual {v1, v4}, Lcom/waiqin365/base/login/LoginCheck1Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v3, Lcom/waiqin365/base/login/b/a/ak;->f:Ljava/lang/String;

    :cond_b
    iget-object v0, v3, Lcom/waiqin365/base/login/b/a/ak;->f:Ljava/lang/String;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_c
    iget v0, v3, Lcom/waiqin365/base/login/b/a/ak;->b:I

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    :cond_d
    iget v0, p1, Landroid/os/Message;->what:I

    const/16 v2, 0x18

    if-ne v0, v2, :cond_0

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    move-object v3, v0

    check-cast v3, Lcom/waiqin365/base/login/b/a/av;

    invoke-virtual {v3}, Lcom/waiqin365/base/login/b/a/av;->b()Z

    move-result v0

    if-eqz v0, :cond_13

    const-string/jumbo v0, "1"

    iget-object v2, v3, Lcom/waiqin365/base/login/b/a/av;->c:Ljava/lang/String;

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_e

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck1Activity;->h(Lcom/waiqin365/base/login/LoginCheck1Activity;)V

    invoke-virtual {v1, v5}, Lcom/waiqin365/base/login/LoginCheck1Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_e
    const-string/jumbo v0, "2"

    iget-object v2, v3, Lcom/waiqin365/base/login/b/a/av;->c:Ljava/lang/String;

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_10

    iget-object v0, v3, Lcom/waiqin365/base/login/b/a/av;->d:Ljava/lang/String;

    if-nez v0, :cond_f

    const-string/jumbo v0, ""

    iget-object v2, v3, Lcom/waiqin365/base/login/b/a/av;->d:Ljava/lang/String;

    invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_f

    const v0, 0x7f0805b9

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/login/LoginCheck1Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v3, Lcom/waiqin365/base/login/b/a/av;->d:Ljava/lang/String;

    :cond_f
    new-instance v0, Lcom/waiqin365/compons/view/c;

    const-string/jumbo v2, ""

    iget-object v3, v3, Lcom/waiqin365/base/login/b/a/av;->d:Ljava/lang/String;

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/base/login/u;

    invoke-direct {v5, p0, v1}, Lcom/waiqin365/base/login/u;-><init>(Lcom/waiqin365/base/login/r;Lcom/waiqin365/base/login/LoginCheck1Activity;)V

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    invoke-static {v1, v0}, Lcom/waiqin365/base/login/LoginCheck1Activity;->a(Lcom/waiqin365/base/login/LoginCheck1Activity;Lcom/waiqin365/compons/view/c;)Lcom/waiqin365/compons/view/c;

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck1Activity;->j(Lcom/waiqin365/base/login/LoginCheck1Activity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    const-string/jumbo v2, "#ff9008"

    invoke-static {v2}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v2

    invoke-virtual {v0, v2, v6}, Lcom/waiqin365/compons/view/c;->a(II)V

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck1Activity;->j(Lcom/waiqin365/base/login/LoginCheck1Activity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    const v2, 0x7f0802c6

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/login/LoginCheck1Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2, v6}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;I)V

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck1Activity;->j(Lcom/waiqin365/base/login/LoginCheck1Activity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    const v2, 0x7f0802d7

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/login/LoginCheck1Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2, v7}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;I)V

    invoke-static {v1}, Lcom/waiqin365/base/login/LoginCheck1Activity;->j(Lcom/waiqin365/base/login/LoginCheck1Activity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto/16 :goto_0

    :cond_10
    iget-object v0, v3, Lcom/waiqin365/base/login/b/a/av;->d:Ljava/lang/String;

    if-eqz v0, :cond_11

    iget-object v0, v3, Lcom/waiqin365/base/login/b/a/av;->d:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-nez v0, :cond_12

    :cond_11
    invoke-virtual {v1, v4}, Lcom/waiqin365/base/login/LoginCheck1Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v3, Lcom/waiqin365/base/login/b/a/av;->d:Ljava/lang/String;

    :cond_12
    iget-object v0, v3, Lcom/waiqin365/base/login/b/a/av;->d:Ljava/lang/String;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_13
    invoke-virtual {v1, v4}, Lcom/waiqin365/base/login/LoginCheck1Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0
.end method
